<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="s" uri="/struts-tags"%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta name="author" content="Luka Cvrk (www.solucija.com)" />
	<link rel="stylesheet" href="image_css/style.css" type="text/css" />
	<title>找工作</title>
</head>
<body>
<div id="content">
		<div id="header">
			<p id="top_info"> <a href="#">登录</a> | <a href="#">注册</a>.<br />
		    .</p>
			
			<div id="logo">
				<h1><a href="#" title="Centralized Internet Content">找<span class="title"><font color="#FF0000">工作</font></span></a></h1>
				<p>欢迎来找工作</p>
			</div>
		</div>
					
		<div id="tabs">
			<ul>	
				<li></li>
				<li><a class="current" href="enter.action" accesskey="v"><span class="key">首页</span></a></li>
				<li><a href="showusers.action" accesskey="r"><span class="key">帐户</span>管理</a></li>
				<li><a href="showcity.action" accesskey="i"><span class="key">地区</span>管理</a></li>
				<li><a href="showstatus.action" accesskey="d"><span class="key">学位</span>管理</a></li>
				<li><a href="showfunction.action" accesskey="a"><span class="key">权限</span>管理</a></li>
				<li><a href="#" accesskey="a"><span class="key">关于我们</span></a></li>
			</ul>
			<div id="search">
				<form method="post" action="search.action">
					<p>职位搜索
					  <input type="text" name="keyword" class="search" /> <input type="submit" value="Search" class="button" /></p>
				</form>
			</div>
		</div>
					
		<div class="gboxtop"></div>
		<div class="gbox">
			<p><a href="#">Lorem ipsum dolor</a> sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex. Ut wisi enim ad minim veniam, quis nostrud <a href="#">exerci tation</a> ullamcorper suscipit lobortis nisl ut aliquip ex.</p>
		</div>
		
		<div class="left">
			<div class="left_articles">
				<div class="buttons"><p><a href="#" class="bluebtn">Read</a> <a href="#" class="greenbtn">Mark</a></p></div>
				<div class="calendar"><p>NOV<br />13th</p></div>
				<h2>招聘信息列表</h2>
				<hr/><br/>
<table>
		<thead><tr><td>招聘职位</td><td>招聘人数</td><td>所在城市</td><td>要求外语</td><td>要求学历</td><td>要求工作经验</td><td>发布时间</td><td>详细信息</td></tr></thead>
		<tfoot>
			<tr>
			<td colspan="2">
				<c:if test="${!pagination.first}">
					<a href="browseRecruit.action?pagination.no=1">首页</a>
				</c:if>
			</td>
			<td colspan="2">
				<c:if test="${pagination.previous}">
					<a href="browseRecruit.action?pagination.no=${pagination.no-1}">上一页</a>
				</c:if>
			</td>
			<td colspan="2">
				<c:if test="${pagination.next}">
					<a href="browseRecruit.action?pagination.no=${pagination.no+1 }">下一页</a>
				</c:if>
			</td>
			<td>
				<c:if test="${!pagination.last}">
					<a href="browseRecruit.action?pagination.no=${pagination.pageSum }">尾页</a>
				</c:if>
			</td>
			</tr>
		</tfoot>
		<tbody>
			<s:iterator value="pagination.results"  status="stuts">
				<s:if test="#stuts.odd == true">
					<tr>
					<td><s:property value="recruitPosition" /></td>
					<td><s:property value="recruitCount" /></td>
					<td><s:property value="cityId.cityName" /></td>
					<td><s:property value="recruitForeiLanguage" /></td>
					<td><s:property value="statusId.statusName" /></td>
					<td><s:property value="recruitSeniority" /></td>
					<td><s:property value="recruitDate" /></td>
					<td><a href="/onjob/recruitDetail.action?id=${id}">查看</a></td>
					</tr>
				</s:if>
				<s:else>
					<tr>
					<td><s:property value="recruitPosition" /></td>
					<td><s:property value="recruitCount" /></td>
					<td><s:property value="cityId.cityName" /></td>
					<td><s:property value="recruitForeiLanguage" /></td>
					<td><s:property value="statusId.statusName" /></td>
					<td><s:property value="recruitSeniority" /></td>
					<td><s:property value="recruitDate" /></td>
					<td><a href="">查看</a></td>
					</tr>
				</s:else>
			</s:iterator>
			
		</tbody>
	</table>
				  第${pagination.no}页 ---共${pagination.pageSum}页
				 <c:if test="${!pagination.first}">
					<a href="browseCompany.action?pagination.no=1">首页</a>
				</c:if>
				 <c:if test="${pagination.previous}">
					<a href="browseCompany.action?pagination.no=${pagination.no-1}">上一页</a>
				</c:if>
				 <c:if test="${pagination.next}">
					<a href="browseCompany.action?pagination.no=${pagination.no+1 }">下一页</a>
				</c:if>
				 <c:if test="${!pagination.last}">
					<a href="browseCompany.action?pagination.no=${pagination.pageSum }">末页</a>
				</c:if>
				 <form action="browseRecruit.action" method='post'>
					<input type="text" name = "pagination.no" />
					<input type="submit" value="跳转"/>
				</form>
		  </div>
					
			</div>
		<div id="right">
			<div class="boxtop"></div>
			<div class="box">
				<img src="image_css/images/image.gif" alt="Image" title="Image" class="image" /><b><br/><h2>按城市搜索</h2></b><br />
				<hr/>
				<s:form action="findByCityName" method="POST">
					<s:textfield name="cityName" label="按城市查询"></s:textfield>
					<s:submit value="查询"></s:submit>
				</s:form>
				
			</div>
			
			<div class="boxtop"></div>
			<div class="box">
				<p><img src="image_css/images/image.gif" alt="Image" title="Image" class="image" /><b>Lorem ipsum dolor sit amet</b><br />consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis.<br /></p>
				<div class="buttons"><p><a href="#" class="bluebtn">Read</a> <a href="#" class="greenbtn">Mark</a></p></div>
			</div>
		</div>	
		<div class="footer">
			<p><a href="#">RSS Feed</a> &middot; <a href="#">Most Popular</a> &middot; <a href="#">Today's Favorites</a> &middot; <a href="#">All Time Favorites</a> &middot; <a href="#">Sharing Policy</a> &middot; <a href="http://www.solucija.com/home/commercial-templates/" title="Professional CSS Templates">Professional CSS Templates</a> &middot; <a href="http://www.ni5ni6.com">Ni5Ni6</a> &middot; <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> and <a href="http://validator.w3.org/check?uri=referer">XHTML</a><br />
			&copy; Copyright 2006 Internet Sharing, Design: Luka Cvrk - <a href="http://www.solucija.com/" title="Information Architecture and Web Design">Solucija</a></p>
		</div>
	</div>
</body>
</html>